<?php
declare (strict_types = 1);

namespace app\admin\controller\auth;

use think\Request;
use app\admin\service\auth\LoginService;
class Login
{
    public function index(Request $request)
    {
        $param = $request->param();
        $loginService = new LoginService();
        $data = $loginService->dologin($param);
        return $data;
    }
}

